package cn.ym.ymcc.mapper;

import cn.ym.ymcc.domain.CourseResource;
import cn.ym.ymcc.query.CourseResourceQuery;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 课件 Mapper 接口
 * </p>
 *
 * @author 210513347@qq.com
 * @since 2023-05-08
 */
public interface CourseResourceMapper extends BaseMapper<CourseResource> {

    List<CourseResource> queryData(CourseResourceQuery query);
    //根据courseid删除
    void deleteByCourseId(Long id);
}
